OPC Studio User's Guide and Reference
PkiCertificate Constructor(Byte[],SecureString)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Security.Cryptography.PkiCertificates Namespace > PkiCertificate Class > PkiCertificate Constructor : PkiCertificate Constructor(Byte[],SecureString)
Initializes a new instance of the class using a byte array and a password.
Syntax
'Declaration
 
Public Function New( _
   ByVal rawData() As Byte, _
   ByVal password As SecureString _
)
'Usage
 
Dim rawData() As Byte
Dim password As SecureString
 
Dim instance As New PkiCertificate(rawData, password)
public PkiCertificate( 
   byte[] rawData,
   SecureString password
)
public:
PkiCertificate( 
   array<byte>^ rawData,
   SecureString^ password
)

Parameters

rawData
password
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also